package cn.itcast.oriented.Object_

import java.text.SimpleDateFormat
import java.util.Date

/**
  * @Package cn.itcast.oriented.Object_
  * @author KTL
  * @date 2021/5/22 0022 12:19
  * @version V1.0
  * @Copyright © 2015-04-29  One for each, and two for each
  */
class ObjectDemo04 {}

class Computer(val name:String,val money:Int){

}

object Computer{
  def apply(name:String,money:Int):Computer={
    Computer
  }
}
